package com.kiwilss.aopdemo.ui.workmanager

import android.content.Context
import android.provider.Telephony
import androidx.work.Worker
import androidx.work.WorkerParameters
import com.kiwilss.aopdemo.utils.LogUtils

/**
 * @author : Administrator
 * e-mail : kiwilss@163.com
 * time   : 2021/02/03
 *  desc   :
 */
class TestWorker(context: Context, workerParameters: WorkerParameters) :
    Worker(context, workerParameters) {

    override fun doWork(): Result {
        LogUtils.e("执行了 doWork() 操作！${Thread.currentThread()}","TestWorker")
        return Result.success()

    }
}